package com.doraemon.module.buyer.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author doraemon
 * @date 2017/12/7.
 */
@Data
public class OrderForm {
    @NotEmpty(message = "用户名不能为空")
    public String name;

    @NotEmpty(message = "电话不能为空")
    public String phone;

    @NotEmpty(message = "地址不能为空")
    public String address;

    @NotEmpty(message = "用户openId不能为空")
    public String openid;

    @NotEmpty(message = "购物车不能为空")
    public String  items;
}
